package com.winit.openapi.claim.util;

public class ClaimOrderEnumConstant {

    /**
     * 索赔单来源常量
     */
    public enum ClaimOrderSource {
        TOM("tom"), HELP("help"), DIS("dis");

        private String sourceCode;

        private ClaimOrderSource(String sourceCode){
            this.sourceCode = sourceCode;
        }

        public String getSourceCode() {
            return sourceCode;
        }

        public void setSourceCode(String sourceCode) {
            this.sourceCode = sourceCode;
        }

    }

    /**
     * 索赔单受理工单状态常量 工单状态，1:草稿,2:已提交,3:已退回,4:处理中,5:已完成,6:已取消
     * 
     * @version <pre>
     * Author	Version		Date		Changes
     * minghao.deng 	1.0  		2017年4月6日 	Created
     *
     * </pre>
     * @since 1.
     */
    public enum CliamOrderAcceptStatus {
        DRF("1"), SUBMITTED("2"), RETURNED("3"), HANDLING("4"), COMPLETED("5"), CANCELED("6");

        private String statusCode;

        private CliamOrderAcceptStatus(String statusCode){
            this.statusCode = statusCode;
        }

        public String getStatusCode() {
            return statusCode;
        }

        public void setStatusCode(String statusCode) {
            this.statusCode = statusCode;
        }

    }

    public enum ClaimOrderType {
        LS("LS", "丢失"), BK("BK", "破损");

        private ClaimOrderType(String code, String desc){
            this.code = code;
            this.desc = desc;
        }

        private String code;

        private String desc;

        public String getCode() {
            return code;
        }

        public void setCode(String code) {
            this.code = code;
        }

        public String getDesc() {
            return desc;
        }

        public void setDesc(String desc) {
            this.desc = desc;
        }

    }

    public enum ClaimOrderEvaluateLeval {

        ONE("1"), TWO("2"), THREE("3"), FOUR("4"), FIVE("5");

        private ClaimOrderEvaluateLeval(String leval){
            this.leval = leval;
        }

        private String leval;

        public String getLeval() {
            return leval;
        }

        public void setLeval(String leval) {
            this.leval = leval;
        }

    }

    public enum ClaimOrderResult {

        RE("RE", "拒绝"), SU("SU", "成功");

        private ClaimOrderResult(String code, String desc){
            this.code = code;
            this.desc = desc;
        }

        private String code;

        private String desc;

        public String getCode() {
            return code;
        }

        public void setCode(String code) {
            this.code = code;
        }

        public String getDesc() {
            return desc;
        }

        public void setDesc(String desc) {
            this.desc = desc;
        }

    }

    public enum ClaimOrderRefuseReason {

        R1("R1", "包装不符"), R2("R2", "买家不配合调查"), R3("R3", "确认投递"), R4("R4", "不在供应商受理范围内"), R5("R5", "包裹退回发件人"),
        R6("R6", "索赔申请资料不正确");

        private ClaimOrderRefuseReason(String code, String desc){
            this.code = code;
            this.desc = desc;
        }

        private String code;

        private String desc;

        public String getCode() {
            return code;
        }

        public void setCode(String code) {
            this.code = code;
        }

        public String getDesc() {
            return desc;
        }

        public void setDesc(String desc) {
            this.desc = desc;
        }

    }

}
